import express = require('express')
const app = express()
const proRoutes = require('./api/routes/products')
const orderRoutes = require('./api/routes/products')
const indexRouter = require('./api/routes/indexRouter')

app.use('/', indexRouter)
app.use('/products', proRoutes)
app.use('/order', orderRoutes)

module.exports = app